package com.applet.mallappletbackstage.service;

import com.applet.mallappletbackstage.entity.Nation;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author X
 * @since 2020-08-13
 */
public interface NationService extends IService<Nation> {

    /***
     * 保存民族
     * @param nation
     * @return
     */
    int nationService(String nation);

    /***
     * 通过id获取民族
     * @param id
     * @return
     */
    Nation getNation(Integer id);
}
